// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Vant from 'vant';
import 'vant/lib/vant-css/index.css';
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import VCharts from 'v-charts'
import axios from 'axios'

Vue.prototype.$http = axios

Vue.use(ElementUI)
Vue.use(Vant);
Vue.use(VCharts)

Vue.config.productionTip = false

// axios.defaults.baseURL='http://193.112.6.35:8085/'
axios.defaults.baseURL='http://localhost:8085/'
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
